package com.monkey.dao;

import com.monkey.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {

    //获取老师
    List<Teacher> getTeacher1();


    //获取老师及对应的学生
    List<Teacher> getTeacher(@Param("tid") int id);

    List<Teacher> getTeacher2(@Param("tid") int id);
}
